<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单进阶-复选框</title>
</head>
<body>
    <h1>表单进阶-复选框（多选）</h1>
    <div>你的兴趣爱好</div>
    <div>
        <input type="checkbox" name="aaa">足球
        <input type="checkbox" name="aaa" checked>篮球
        <input type="checkbox" name="aaa" checked>排球
    </div>
    <div>
        <input type="checkbox" name="aaa">格斗
    </div
    ></div>
    <div>你的前端技能</div>
    <div>
        <input type="checkbox" name="bbb" id="css">
        <label for="css">css</label>
        <input type="checkbox" name="bbb" id="html">
        <label for="html">html</label>
        <input type="checkbox" name="bbb" id="js">
        <label for="js">js</label>
    </div>
</body>
</html>